package com.zxl.grocery.modular.system.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户传输bean
 *
 * @author zxl
 * @Date 2017/5/5 22:40
 */
@Data
public class UserDto implements Serializable {
    private static final long serialVersionUID = 6540306140504553902L;

    private Long userId;
    private String account;
    private String password;
    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String sex;
    private String email;
    private String phone;
    private String roleId;
    private Long deptId;
    private String status;
    private String avatar;

}
